﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using PowerPoint = Microsoft.Office.Interop.PowerPoint;
using Office = Microsoft.Office.Core;
using Microsoft.Office.Tools;
using Menu.UCControl ;

namespace Menu {
    public partial class ThisAddIn {
        public CustomTaskPane ctp = null;

        private void ThisAddIn_Startup(object sender, System.EventArgs e)
        {
            ctp = this.CustomTaskPanes.Add(new UCTaskPane (), "步频 2012");
            ctp.Width = 300;
           // ctp.Height = 600;
            ctp.Visible = true;

        }

        private void ThisAddIn_Shutdown(object sender, System.EventArgs e) {
        }

        #region VSTO 生成的代码

        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InternalStartup() {
            this.Startup += new System.EventHandler(ThisAddIn_Startup);
            this.Shutdown += new System.EventHandler(ThisAddIn_Shutdown);
        }

        #endregion
    }
}
